﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Comain.RBAC
{
    /// <summary>
    /// 角色信息表
    /// </summary>
    public class T_Role
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        [Key]
        public int Role_Id {  get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [StringLength(30)]
        public string Role_Name { get; set; } = string.Empty;
        /// <summary>
        /// 角色状态
        /// </summary>
        public bool Role_State { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public bool Role_IsDelete { get; set; } = false;
    }
}
